package db.bean;

import java.io.Serializable;


public class User implements Serializable {


	/**
	 * 
	 */
	private Long id;// 用户主键
	private Long houseId;//房子id
	private String gender;// 性别
	private int userStatus;// 状态
	private String role;// 角色
	private String name;
	private String nickname;// 昵称
	private String portrait;//头像
	private String signature;// 签名
	private String birthday;// 出生年月
	private String city;// 城市
	private String idCard;//身份证
	private String phone;//电话
	private String address;//详细地址
	private String password;//密码MD5加密
	private String createTime;//注册日期
	private String extendJSON;//扩展字段1
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getHouseId() {
		return houseId;
	}
	public void setHouseId(Long houseId) {
		this.houseId = houseId;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPortrait() {
		return portrait;
	}
	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getExtendJSON() {
		return extendJSON;
	}
	public void setExtendJSON(String extendJSON) {
		this.extendJSON = extendJSON;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", houseId=" + houseId + ", gender=" + gender
				+ ", userStatus=" + userStatus + ", role=" + role + ", name="
				+ name + ", nickname=" + nickname + ", portrait=" + portrait
				+ ", signature=" + signature + ", birthday=" + birthday
				+ ", city=" + city + ", idCard=" + idCard + ", phone=" + phone
				+ ", address=" + address + ", password=" + password
				+ ", createTime=" + createTime + ", extendJSON=" + extendJSON
				+ "]";
	}

	
	
}
